package com.softeem.crm.service;

import com.softeem.crm.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.crm.vo.UserModel;
import com.softeem.crm.vo.UserQuery;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【t_user】的数据库操作Service
* @createDate 2022-12-27 14:23:06
*/
public interface UserService extends IService<User> {
    public UserModel login(String userName, String userPwd);
    public void updateUserPassword(Integer userId,String oldPassword,String newPassword,String confirmPassword);

    public List<Map> queryAllSales();

    Map<String, Object> userList(UserQuery userQuery);
    void saveUser(User user,String roleIds);
    void updateUser(User user,String roleIds);

}
